package fr.xgouchet.wedding.client.jsni;

import com.google.gwt.core.client.JavaScriptObject;

import fr.xgouchet.wedding.shared.model.Guest;

/**
 * The JS binder to a {@link Guest} description
 * 
 * @author x.gouchet
 * 
 */
public class JSGuest extends JavaScriptObject {

	/**
	 * Overlay types always have protected, zero-argument constructors.
	 */
	protected JSGuest() {
	}

	/**
	 * @return the guest id
	 */
	public final native String getID() /*-{
		return this.id;
	}-*/;

	/**
	 * JSNI methods to get first name.
	 * 
	 * @return the first name
	 */
	public final native String getFirstName() /*-{
		return this.firstname;
	}-*/;

	/**
	 * @return the last name
	 */
	public final native String getLastName() /*-{
		return this.lastname;
	}-*/;

	/**
	 * @return the nickname
	 */
	public final native String getNickName() /*-{
		return this.nickname;
	}-*/;

	/**
	 * @return the sex
	 */
	public final native boolean getSex() /*-{
		return this.sex
	}-*/;

	/**
	 * @return the age
	 */
	public final native String getAge() /*-{
		return this.age;
	}-*/;

	/**
	 * @return the status
	 */
	public final native int getStatus() /*-{
		return this.status;
	}-*/;

	/**
	 * @return the coming with info
	 */
	public final native String getComingWith() /*-{
		return this.comingwith;
	}-*/;

	/**
	 * @return the roles
	 */
	public final native String getRoles() /*-{
		return this.roles;
	}-*/;

	/**
	 * @return the group
	 */
	public final native String getGroup() /*-{
		return this.group;
	}-*/;

	/**
	 * @return the table
	 */
	public final native int getTable() /*-{
		return this.table;
	}-*/;

	/**
	 * @return the seat
	 */
	public final native int getSeat() /*-{
		return this.seat;
	}-*/;

}
